package com.gk.panda.apis.Vo.exports;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description 生物多样性，动植物名录导出
 * @Author zhangguoqiao
 * @Date 2022/12/9 11:28
 * @Version 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@ExcelTarget("biodiversity")
public class ExportBiodiversityVO {

    @Excel(name = "拉丁文学名", orderNum = "1", width = 35)
    private String latinName;

    @Excel(name = "种(名称)", orderNum = "2", width = 30)
    private String species;

    @Excel(name = "最新发现时间", format = "yyyy-MM-dd", orderNum = "3", width = 20)
    private Date findTime;

    @Excel(name = "创建机构", orderNum = "4", width = 35)
    private String orgName;

    @Excel(name = "数量估计", orderNum = "5", width = 20)
    private Integer number;

    @ExcelIgnore
    private Integer dataSource;

    @Excel(name = "数据来源", orderNum = "6", width = 20)
    private String dataSourceName;

    @Excel(name = "保护等级", orderNum = "7", width = 20)
    private String protectionLevel;

    @Excel(name = "IUCN", orderNum = "8", width = 20)
    private String iucnLevel;

    @Excel(name = "CITES", orderNum = "9", width = 20)
    private String citesAppendix;

}
